home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / Component.subproj / eTAudioComponent.h next >
Encoding:
Text File  |  1994-07-24  |  1.3 KB  |  36 lines

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //    FILENAME:    eTAudioComponent.h
  3. //    SUMMARY:    Interface for a container of audio data.
  4. //    SUPERCLASS:    Object
  5. //    INTERFACE:    None, but it "exports" eTAudioComponentIcon and IconH.
  6. //    PROTOCOLS:    <ComponentData,
  7. //                ETFDSupport,HTMDSupport,LaTeXSupport>
  8. //    AUTHOR:        Rohit Khare
  9. //    COPYRIGHT:    (c) 1994 California Institure of Technology, eText Project
  10. ///////////////////////////////////////////////////////////////////////////////
  11. //    DESCRIPTION
  12. //        This is a subclass that externalizes audio components. Manages
  13. //    a Sound object. useSound:... has been included to allow passing
  14. //    in Sounds that are not on disk (as with paste:s)
  15. ///////////////////////////////////////////////////////////////////////////////
  16. //    HISTORY
  17. //    07/19/94:    Rearchitected. See Actors/eTComponent.rtf.
  18. //    07/14/94:    Created. Aliases the NeXTSTEP Sound API.
  19. ///////////////////////////////////////////////////////////////////////////////
  20.  
  21. #import "eTextKernel.h"
  22.  
  23. @interface eTAudioComponent:eTComponent <ComponentData,ETFDSupport,HTMDSupport,LaTeXSupport>
  24. {    
  25.     id theSound;
  26. }
  27.  
  28. - theSound;
  29. + newSoundNamed:(const char *)theName;
  30.  
  31. // semi-private API
  32. - useSound:(Sound *)newSound 
  33.       name:(const char *) newComponentName
  34.       path:(const char *) newCurrentPath;
  35. - writeHTML:(NXStream *)stream forView:view andClose:(BOOL)closeIt;
  36. @end